.wrap {
  width: 500px;
  height: 300px;
  border: 1px solid black;
}

.child-box {
  height: 100px;
  line-height: 50px;
  background-color: aqua;
}